package com.ext.springcloud.feign.fallback.promq;

import com.ext.springcloud.feign.promq.OrderSetProducerFeignService;
import com.ext.springcloud.result.CommonResult;
import org.springframework.stereotype.Component;

/**
 * @FileName: OrderSetProducerFeignFallbackService
 * @Author: <a href="dongann@aliyun.com">dongchang'an</a>.
 * @CreateTime: 2021/8/16 9:58
 * @Version: v1.0
 * @description:
 */
@Component
public class OrderSetProducerFeignFallbackService implements OrderSetProducerFeignService {
    @Override
    public CommonResult sendSetOrderMsg(String orderMsg) {
        return new CommonResult<>(500, "消息服务-下单发送消息异常，服务降级返回");
    }
}
